Sendcloud\Shipping\Checkout\Shipping\Free_Shipping_Shipping_Method A

Total Complexity 56
Dependencies 8
Dependents 1
Total lines 430
Lines of code 237
Logical lines of code 115
Comment lines 115
Methods 19
Properties 11

Methods 19

Method Rating Maintainability Complexity Lines of code
check_free_shipping()
A
54 9 21
has_coupon()
S
57 6 18
override_form_fields_config()
S
51 5 25
get_option()
S
59 4 14
calculate_shipping_cost()
S
60 4 13
calculate_shipping()
S
56 3 20
add_extra_fields()
S
46 1 41
get_default_field()
S
67 3 9
is_rate_enabled()
S
77 3 3
get_admin_options_html()
S
67 3 7
__construct()
S
68 2 7
process_admin_options()
S
64 2 9
supports()
S
66 2 8
get_instance_form_fields()
S
66 2 8
get_all_configurations()
S
69 2 7
create_order()
S
63 2 9
init()
S
64 1 9
init_form_fields()
S
77 1 4
get_delivery_method()
S
73 1 5